package com.net.xpay.common.manager;

import com.net.common.manager.DomainManager;
import com.net.xpay.common.domain.SafePayExcelTemplate;
import com.net.xpay.core.model.SafePayExcelTemplateSearchModel;

import java.util.List;


public interface SafePayExcelTemplateManager extends DomainManager<Long,SafePayExcelTemplate> {
    SafePayExcelTemplate findByName(Long userId, String name);

    SafePayExcelTemplate findById(Long userId, Long id);

    List<SafePayExcelTemplate> search(SafePayExcelTemplateSearchModel searchModel);

    long searchCount(SafePayExcelTemplateSearchModel searchModel);

    List<SafePayExcelTemplate> list(SafePayExcelTemplateSearchModel searchModel);
}
